<?php

namespace Home\Model;



class Menu 
{
    public $id;
    public $tenchuyenmuc;
    public $duongdan;
	public $theloai;
	public $tentheloai;
	

    protected $inputFilter;

    /**
     * Used by ResultSet to pass each database row to the entity
     */
    public function exchangeArray($data)
    {
        $this->id    = (isset($data['id'])) ? $data['id'] : null;
        $this->tenchuyenmuc = (isset($data['tenchuyenmuc'])) ? $data['tenchuyenmuc'] : null;
        $this->duongdan  = (isset($data['duongdan'])) ? $data['duongdan'] : null;
		$this->theloai  = (isset($data['theloai'])) ? $data['theloai'] : null;
		$this->tentheloai  = (isset($data['tentheloai'])) ? $data['tentheloai'] : null;
		
    }

    
}
